
/*
 * Copyright (c) 2006, 2021, webrx.cn All rights reserved.
 *
 */
package cn.webrx;

/**
 * <p>Project: javaseapp - Book
 * <p>Powered by webrx On 2021-08-31 11:25:35
 * <p>Created by IntelliJ IDEA
 *
 * @author webrx [webrx@126.com]
 * @version 1.0
 * @since 16
 */
public record Book(int id, String name) {
    //public book {
    //
    //}

    public Book() {
        this(10, "《java入门开发》");
    }

    public Book(int id, String name) {
        this.id = id;
        this.name = name;
    }


}
